﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="MySlidingMenuGroup.ascx.vb"
    Inherits="WebForm_MySlidingMenuGroup" %>
<link id="Link2" href="~\css\set.css" runat="server" rel="stylesheet" type="text/css" />
<asp:Panel ID="Panel2" runat="server" CssClass="collapsePanelHeader" Height="30px">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
    <td align="left" background="<%=ResolveUrl("~/images/menu_bg.jpg")%>" style="font-size:0px">
    <asp:ImageButton ID="Image1" runat="server" ImageUrl="~/images/TopImg.jpg"  ImageAlign="AbsMiddle" AlternateText="(Show Details...) " />
                    <asp:Label ID="lblMenuName" ForeColor="#209E5C" runat="server" Font-Size="15px"></asp:Label><br /><br /></td>
</tr>
</table>
  
</asp:Panel>
<asp:Panel ID="Panel1" runat="server"  HorizontalAlign="Left" BackImageUrl="~/images/menu_bg.jpg" CssClass="collapsePanel">
    <asp:MultiView ID="mvList" runat="server" ActiveViewIndex="0">
        <asp:View ID="vwList" runat="server">
    <asp:Repeater ID="rep" runat="server">
        <HeaderTemplate>  <table width="100%" border="0" cellspacing="1" cellpadding="1"></HeaderTemplate>
        <FooterTemplate></table></FooterTemplate>
        <ItemTemplate>
<%--             <tr class="fix">
            <td height="1%" align="left" background="/VMS/images/menu_bg.jpg">
            <img src="/VMS/images/NewImages/left_table_line.jpg" width="153" height="5" alt="美工用圖"></td>
                                      </tr>
     --%>
                   <tr>
                <td align="left" background="<%=ResolveUrl("~/images/menu_bg.jpg")%>">
                 <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>&nbsp;&nbsp;
                <asp:Image runat="server" id="ItemImage" align="absmiddle" alt="Menu" ImageUrl="~/images/NewImages/left_menu_pic_04.jpg" Width="13px" />
                </td>
                            <td align="left">
                    <%--<a href="<%# Eval("Url")%>"><%#Eval("MenuName")%></a>--%>
                                        <a id="aMenuName" runat="server" style="font-size: 9pt"></a>
<%--                    <asp:LinkButton ID="lknMenuName" runat="server" CommandName="lknMenuName" CommandArgument='<%#Bind("Url") %>' Text='<%#Bind("ProgramName") %>' Font-Size="9pt"></asp:LinkButton>
--%>                       </td>
                        </tr>
                    </table>
                  </td>
                    <%--<a id="aMenuName" runat="server" style="font-size:9pt"></a>    --%>
             
            </tr>                       
            
        </ItemTemplate>
    </asp:Repeater>
    </asp:View>
        <asp:View ID="vwTree" runat="server">
            <asp:TreeView ID="tv" runat="server" ImageSet="Simple" ShowLines="true">
                <%--                <Nodes>
                    <asp:TreeNode Text="aa">
                        <asp:TreeNode Text="cc"></asp:TreeNode>
                    </asp:TreeNode>
                    <asp:TreeNode Text="bb" />
                </Nodes>
--%>
                <NodeStyle Font-Size="14px" ImageUrl="~/images/NewImages/left_menu_pic_04v2.jpg" Font-Underline="true" Font-Names="Arial" />
            </asp:TreeView>
        </asp:View>
    </asp:MultiView>
</asp:Panel>
<ajaxToolkit:CollapsiblePanelExtender ID="cpeDemo" runat="Server" TargetControlID="Panel1"
    ExpandControlID="Panel2" CollapseControlID="Panel2" Collapsed="true" TextLabelID="Label1"
    ImageControlID="Image1" ExpandedText="(Hide Details...)" CollapsedText="(Show Details...)"
    ExpandedImage="~/images/TopImg.jpg" CollapsedImage="~/images/TopImg.jpg"
    SuppressPostBack="true">
    </ajaxToolkit:CollapsiblePanelExtender>

